package cn.mingfancloud.bilibili_java.javabase.abstractTest;

public class Test {
    public static void main(String[] args) {
        Frog f = new Frog("xiaolu",1);
        System.out.println(f.getName()+","+f.getAge());

        f.drink();
        f.eat();
    }
}
